package equipments.enumeration;

import systems.languages.MultiLanguages;

/**
 * Provides two differents key for identify which hand to equipy.
 * @author Baptiste Legrand & Benjamin Orman
 * @version 2.0
 */
public enum HandsSlots implements EquipmentSlots {
  MAIN_HAND, OFF_HAND ;
  
  @Override
  public EquipmentSlots getSlot(String value) {
    return HandsSlots.valueOf(value);
  }
  
  @Override
  public String toString(EquipmentSlots equipment) {
    return MultiLanguages.getProperties("slots."+equipment+".label");
  }
}
